/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tickettype.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.tickettype.entity.TicketType;
import com.jeeplus.modules.tickettype.mapper.TicketTypeMapper;

/**
 * 门票类型Service
 * @author zhych
 * @version 2021-08-19
 */
@Service
@Transactional(readOnly = true)
public class TicketTypeService extends CrudService<TicketTypeMapper, TicketType> {

	public TicketType get(String id) {
		return super.get(id);
	}
	
	public List<TicketType> findList(TicketType ticketType) {
		return super.findList(ticketType);
	}
	
	public Page<TicketType> findPage(Page<TicketType> page, TicketType ticketType) {
		return super.findPage(page, ticketType);
	}
	
	@Transactional(readOnly = false)
	public void save(TicketType ticketType) {
		super.save(ticketType);
	}
	
	@Transactional(readOnly = false)
	public void delete(TicketType ticketType) {
		super.delete(ticketType);
	}
	
}